<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.wzw.util.ProjectCode" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title></title>
  <link href="css/main.css" media="screen" rel="stylesheet" type="text/css" />
  <style type="text/css">
    .topMenu{
     	  margin:0 auto;
     	  width:950px;
     	  height:30px;
     	  margin-bottom:10px;
     	}
    #ul1 {
		  height:30px;
		  background-color:#CCCCCC;
		  line-height:30px;
		  margin:0px;
		  padding:0px;
		  padding-left:24px;
  		}
   #ul2 {
  		  display:none;
		  width:180px;
		  position:absolute;
		  margin:0px;
		  padding:0px;
		  background-color:#EEEEEE;
		  z-index:1000;
  		}
   li {
  		  float:left;
		  list-style:none;
		  margin:0px;
		  padding:0px;
		  margin-right:24px;
  		}
   .li1 {
  		  float:left;
		  clear:left;
		  width:180px;
		  text-indent:24px;
  		}
   .a_menu {
  		  text-decoration:none;
		  color:#666666;
		  font-size:13px;
		  display:block;
  		}
   .a_menu:hover {
  		  background-color:#FF0000;
		  color:#FFFFFF;
  		}
  </style>
  <script type="text/javascript">
	function showList()
	{
	  document.getElementById("ul2").style.display="block";
	}
	
	function hiddenList()
	{
	  document.getElementById("ul2").style.display="none";
	}
  </script>
</head>
<% 
	if(session.getAttribute("user")==null || session.getAttribute("projectCode")==null){
		response.sendRedirect("login.jsp");
		return;
	}
	String pcode = (String)session.getAttribute("projectCode");
%>
<body>
<div class="topMenu">
  <ul id="ul1">
    <li><a class="a_menu" href="<%=ProjectCode.getProjectCode(pcode).getUrl()%>" target="blank">活动首页</a></li>
	<li><a class="a_menu" href="statistics.jsp">参与者列表</a></li>
	<li><a class="a_menu" href="ADposition.jsp">媒体广告位</a></li>
	<li id="lidown" onmouseover="showList()" onmouseout="hiddenList()">
	  <a class="a_menu" href="report.jsp">数据统计</a>
	  <ul id="ul2">
	    <li class="li1"><a class="a_menu" href="report.jsp?reportType=1">点击来源报表</a></li>
		<li class="li1"><a class="a_menu" href="report.jsp?reportType=2">参与用户来源报表</a></li>
		<li class="li1"><a class="a_menu" href="report.jsp?reportType=3">参与与点击比较</a></li>
		<li class="li1"><a class="a_menu" href="report.jsp?reportType=4">用户城市来源报表</a></li>
	  </ul>
	</li>
	<!--
	<li><a class="a_menu" href="#">占位</a></li>
	<li><a class="a_menu" href="#">占位</a></li>
	-->
  </ul>
</div>
</body>
</html>